package com.javacrafting.mifos.domain;

import java.util.Date;

public class LoanAccountPerformanceHistoryImpl implements LoanAccountPerformanceHistory
{
	private Integer id;
	private Integer numberOfPayments = Integer.valueOf(0);
	private Date loanMaturityDate;
	private LoanAccount loanAccount;
	
	public LoanAccountPerformanceHistoryImpl() {
		// default constructor for hibernate
	}

	public LoanAccountPerformanceHistoryImpl(LoanAccount loanAccount)
	{
		this.loanAccount = loanAccount;
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getNumberOfPayments()
	{
		return numberOfPayments;
	}

	public void setNumberOfPayments(Integer numberOfPayments)
	{
		this.numberOfPayments = numberOfPayments;
	}

	public Date getLoanMaturityDate()
	{
		return loanMaturityDate;
	}

	public void setLoanMaturityDate(Date loanMaturityDate)
	{
		this.loanMaturityDate = loanMaturityDate;
	}

	public LoanAccount getLoanAccount()
	{
		return loanAccount;
	}

	public void setLoanAccount(LoanAccount loanAccount)
	{
		this.loanAccount = loanAccount;
	}
}
